//
//  MFood.m
//  RRQS
//
//  Created by kyjun on 16/3/28.
//
//

#import "MFood.h"

@implementation MFood
-(instancetype)initWithItem:(NSDictionary *)item{
    self = [super init];
    if(self){
        _foodName = [item objectForKey:@"fname"];
        _quantity = [item objectForKey:@"quantity"];
        _price = [item objectForKey:@"price"];
    }
    return self;
}

@end
